package com.itheima.day01.test4;

public abstract class Employee {
    private String jobNo;
    private String name;

    //void work[
    public abstract void work();

    public String getJobNo() {
        return jobNo;
    }

    public void setJobNo(String jobNo) {
        this.jobNo = jobNo;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Employee() {
    }

    public Employee(String jobNo, String name) {
        this.jobNo = jobNo;
        this.name = name;
    }
}
